package com.yykj.prescription.server.model.repository.prescription;

import com.yykj.prescription.server.model.entity.prescription.PrescriptionTask;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Repository
public interface PrescriptionTaskRepository extends JpaRepository<PrescriptionTask,String> {
    List<PrescriptionTask> findAllByExpireTimeLessThanEqual(LocalDateTime dateTime);
}
